package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.CustomerRegistration;
import com.realtyManage.springboot.Model.Do.HouseDetail;
import com.realtyManage.springboot.Model.Vo.HouseDetailEntity;
import com.realtyManage.springboot.Model.Vo.HouseEntity;
import com.realtyManage.springboot.Model.Vo.UserTaskEntity;
import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;

public interface IHouseDetailService {

    List<HouseDetail> findAll();

    Page<HouseDetail> findPagedByWhereClause(HouseEntity houseEntity);

    int saveHouseInfo(HouseDetail houseDetail);

    boolean updateHouseInfo(HouseDetail houseDetail);

    List<String> findByNameLike(String houseName);

    String getName(Integer id);

    String getId(String userId);

    int deleteHouse(String ids);

    List<HouseDetail> querySpecial();

    List<String> getHouseParameter(String type);

    List<HouseDetail> houseMarketingControl(UserTaskEntity userTaskEntity);

    HashMap<String,Integer> houseMarketingControl1(UserTaskEntity userTaskEntity);

    List<String> getPropertyTye();

    List<String> getStage();

    List<String> getBlockCode();

    int importPriceList(MultipartFile file, HttpServletRequest request);

    List<HouseDetail> showOnSaleHouseList();

    List getTest(List type);

    List getXk();

    int transferUser(String inputUser,String outUser);

    List<String> getFloorE(String blockCode);
}
